/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package part.tablefield;

import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 *
 * @author Shengyi_Chen
 */
@ManagedBean
@SessionScoped
public class RegionList {

    private List<String> locations;
    private String selectedLocation;
    /**
     * Creates a new instance of RegionList
     */
    public RegionList() {
        locations = new ArrayList<String>();
        locations.add("NAM");
        locations.add("LATAM");
        locations.add("APJ");
        locations.add("EMEA");
    }

    /**
     * @return the locations
     */
    public List<String> getLocations() {
        return locations;
    }

    /**
     * @return the selectedLocation
     */
    public String getSelectedLocation() {
        return selectedLocation;
    }
    
    
    
}
